/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package tuneModels;

/**
 *
 * @author Israel Agyeman-Prempeh
 */
public class Song {

    private int id;
    private String title;
    private String author;
    private String album;
    private String path;
    private String date;
    private String time;

    /**
     * A default constructor
     */
    public Song() {
    }

    /**
     * A constructor to necessary fields
     *
     * @param title
     * @param artiste
     * @param time
     * @param album
     * @param path
     */
    public Song(String title, String artiste, String time, String album, String path) {
        this.title = title;
        this.author = artiste;
        this.time = time;
        this.album = album;
        this.path = path;
    }

    /**
     * A method to get the id of the song
     *
     * @return int
     */
    public int id() {
        return id;
    }

    /**
     *  method to get the title of the song
     * @return title
     */
    public String title() {
        return title;
    }

    /**
     * A method to get the Artiste of a song
     * @return author
     */
    public String author() {
        return author;
    }

    /**
     * A method that returns the album name
     * @return album
     */
    public String album() {
        return album;
    }

    /**
     * Returns the path of the song
     * @return path
     */
    public String path() {
        return path;
    }

    /**
     * Returns the date the song was played
     * @return date
     */
    public String date() {
        return date;
    }

    /**
     * Returns the total time of the song in raw seconds
     * @return time of song
     */
    public String time() {
        return time;
    }
}
